/**  
* @author  
* @date 2015年12月19日 上午11:38:22
* @version V1.0  
*/
package com.hc.service.model;

import java.io.Serializable;

/**
* 
*	分享记录表的model
* 
* @author 
* @date 2015年12月19日 上午11:38:22
*/
public class ShareRecordModel implements Serializable {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 
	 */
	private Integer id;
	
	/**
	 * 分享内容的id
	 */
	private Integer contentId;
	
	/**
	 * 分享的平台,1微信,2qq,3微博
	 */
	private Integer platform;
	
	/**
	 * 分享平台的唯一性id，微信的union_id,其他平台的userid等
	 */
	private String unionId;
	
	/**
	 * 分享平台的openid
	 */
	private String openId;
	
	/**
	 * 分享的时间点
	 */
	private Integer shareTime;
	
	/**
	 * 分享的上层分享id
	 */
	private Integer fromId;
	
	/**
	 * 如果是医购app用户的用户id
	 */
	private Integer userId;
	
	/**
	 * 本条分享可获得的收益
	 */
	private Double shareProfit;
	
	/**
	 * 当前分享的唯一性token
	 */
	private String shareToken;
	
	/**
	 * 
	 */
	private Integer createTime;
	


	
	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id = id;
	}
	
	
	public Integer getContentId(){
		return contentId;
	}
	
	public void setContentId(Integer contentId){
		this.contentId = contentId;
	}
	
	
	public Integer getPlatform(){
		return platform;
	}
	
	public void setPlatform(Integer platform){
		this.platform = platform;
	}
	
	
	public String getUnionId(){
		return unionId;
	}
	
	public void setUnionId(String unionId){
		this.unionId = unionId;
	}
	
	
	public String getOpenId(){
		return openId;
	}
	
	public void setOpenId(String openId){
		this.openId = openId;
	}
	
	
	public Integer getShareTime(){
		return shareTime;
	}
	
	public void setShareTime(Integer shareTime){
		this.shareTime = shareTime;
	}
	
	
	public Integer getFromId(){
		return fromId;
	}
	
	public void setFromId(Integer fromId){
		this.fromId = fromId;
	}
	
	
	public Integer getUserId(){
		return userId;
	}
	
	public void setUserId(Integer userId){
		this.userId = userId;
	}
	
	
	public Double getShareProfit(){
		return shareProfit;
	}
	
	public void setShareProfit(Double shareProfit){
		this.shareProfit = shareProfit;
	}
	
	
	public String getShareToken(){
		return shareToken;
	}
	
	public void setShareToken(String shareToken){
		this.shareToken = shareToken;
	}
	
	
	public Integer getCreateTime(){
		return createTime;
	}
	
	public void setCreateTime(Integer createTime){
		this.createTime = createTime;
	}
	
	
}
